Communication handler for flex integration with a secure application

ABSTRACT

Systems and methods are provided for a global communication handler to facilitate communication between an Flex application and an Enterprise Application Server (“EAS”) database. Data is obtained from the EAS database by the global communication handler, and the global communication handler instantiates at least one object that provides that data to a Flex application. The global communication handler also receives data from the Flex application, and writes that data to the EAS database.

FIELD OF THE INVENTION

One embodiment is directed to customer relationship management, and more particularly directed to Flex integration with a secure application.

BACKGROUND INFORMATION

In recent years, the annual rate of increase among physicians has remained relatively flat while the number of pharmaceutical sales representatives has grown considerably overall, even accounting for recent reductions in field force sizes. As a result, sales call effectiveness has waned in the face of a changing market and physicians' increasingly busy schedules, forcing life sciences organizations to transform their sales and marketing capabilities. Pharmaceutical companies face stiff challenges in terms of completion, cost escalation and reduction in margins, while promoting their products by sending out sales representatives to doctors, hospitals and other medical organizations. Typically the sales representatives, in the few minutes that they get with the audience/doctors, orally explain the complicated details of the medical product and then give handouts, such as presentation material on the product in paper form. A very likely result of such an approach is that after the session the audience would have already forgotten much, depending on the oral presentation skills of the representative, and the handouts most likely be thrown away. A more effective approach would be to provide the sales representative with an animated presentation that would be more engaging for the little time allotted to the presentation. Technology such as Adobe® Flex or Windows® Silverlight would be useful in designing and presenting animated movies about products. However, such technology is client-side and uses scripting, making it too insecure for use with the secure enterprise application systems, such as Oracle® Life Sciences, used by pharmaceutical companies.

SUMMARY OF THE INVENTION

One embodiment is method for a global communication handler to facilitate communication between a Flex application and a platform database. The method comprises obtaining first data from the platform database, instantiating at least one object that provides the first data to the Flex application, receiving second data from Flex application, and writing the second data to the platform database.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a system that can implement a personalized content delivery (“PCD”) system in accordance with an embodiment;

FIG. 2 illustrates a method of providing personalized content delivery and analytics in accordance with an embodiment;

FIG. 3 illustrates an example user interface (“UI”) of the PCD system in accordance with an embodiment;

FIG. 4 illustrates an example message planning UI of the PCD system in accordance with an embodiment;

FIG. 5 illustrates an example call details UI of the PCD system in accordance with an embodiment;

FIG. 6 illustrates an example presentation UI of the PCD system in accordance with an embodiment;

FIG. 7 illustrates another example call details UI of the PCD system in accordance with an embodiment;

FIG. 8 illustrates a platform for Adobe® Flex communication in accordance with an embodiment;

FIG. 9 illustrates a method of facilitating communication between an base platform and a Flex application in accordance with an embodiment;

FIG. 10 illustrates a block diagram of a system including a communication handler in accordance with an embodiment; and

FIG. 11 illustrates a flow diagram of the function of the communication handler in accordance with an embodiment.

DETAILED DESCRIPTION

Systems and methods in accordance with an embodiment facilitate communication between an Adobe® Flex application and a base platform that is a secure application, such as Oracle® Life sciences. The system comprises the base platform, an ActiveX control container provided by the base platform to communicate via Javascript, and a container web page including a Flex application and a Javascript function to invoke the Flex application, wherein the base platform can invoke the Flex application. Accordingly, the rich user interface of a Personalized Content Delivery (“PCD”) system may be used with a base platform that does not allow communication via scripting for security concerns.

FIG. 1 is a block diagram of a system 10 that can implement an embodiment of a PCD system. System 10 includes a bus 12 or other communication mechanism for communicating information, and a processor 22 coupled to bus 12 for processing information. Processor 22 may be any type of general or specific purpose processor. System 10 further includes a memory 14 for storing information and instructions to be executed by processor 22. Memory 14 can be comprised of any combination of random access memory (“RAM”), read only memory (“ROM”), static storage such as a magnetic or optical disk, or any other type of computer readable media. System 10 further includes a communication device 20, such as a network interface card, to provide access to a network. Therefore, a user may interface with system 10 directly, or remotely through a network or any other method.

Computer readable media may be any available media that can be accessed by processor 22 and includes both volatile and nonvolatile media, removable and non-removable media, and communication media. Communication media may include computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.

Processor 22 is further coupled via bus 12 to a display 24, such as a Liquid Crystal Display (“LCD”), for displaying information to a user. A cursor control device 28, such as a touch screen, is further coupled to bus 12 to enable a user to interface with system 10. In one embodiment, system 10 is a tablet PC.

In one embodiment, memory 14 stores software modules that provide functionality when executed by processor 22. The modules include an operating system 15 that provides operating system functionality for system 10. The modules further include a PCD module 100. This module is described in greater detail below. System 10 may further coupled to a database 17 for storing additional data.

FIG. 2 illustrates a flow diagram of the functionality of PCD module 100 in accordance with an embodiment. In one embodiment, the functionality of the flow diagram of FIG. 2, and FIGS. 9 and 11 below, is implemented by software stored in memory and executed by a processor. In other embodiments, the functionality may be performed by hardware (e.g., through the use of an application specific integrated circuit (“ASIC”), a programmable gate array (“PGA”), a field programmable gate array (“FPGA”), etc.), or any combination of hardware and software. Initially, digital presentation content is loaded on the PCD system 10 (200). Digital presentation content may be used by brand managers, marketing managers and sales operation managers as a sales communication tool for more effective communication in order to acquire, retain and develop profitable customer relationships and improve marketing and sales effectiveness. Examples of digital presentation content includes presentations in the form of Flash files, PowerPoint files, word documents, movie files, Portable Document files, etc. A “message” refers to a slide, page or segment of a presentation conveying a specific message that managers wish to track. FIG. 3 illustrates an example screenshot of a user interface (“UI”) 310 for PCD system 10 where an administrator or manager may load and manage digital presentation content. For example, UI 310 includes a literature panel 320 for displaying the various literature available for a particular product. In this case, the messages that can be displayed include messages regarding the performance, respiratory pathogens, safety, efficacy, and control associated with the product “Aracid.” The literature may be, for example, a slide or slides with information about the product.

After loading the digital presentation content on PCD system 10, an administrator or manager may then create a “messaging plan” for the sales representative to use from the digital presentation content that was loaded using UI 310 (210). The messaging plan is a sequence of digital presentation content used to deliver the tracked message regarding the product. Whereas UI 310 allows an administrator to load content onto PCD system 10, PCD system 10 further includes a UI for creating the messaging plans from the digital presentation content. FIG. 4 illustrates an example screenshot of a UI 410 for PCD system 10 where an administrator or manager may create messaging plans. Note that messages from items panel 420 may be drag-and-dropped into presentation panel 430. The UI 410 may also display related messages 440 and detailed messages 450. A detailed message may be one that provides additional details on the topic covered by a message in the presentation panel. For example, if the presentation panel shows a message regarding the benefits of using “Aracid,” the detailed message could be one that has a report of the clinical trials performed to prove the claimed benefits. When a sales representative makes a sales call, a messaging plan is selected on the PCD system 10 and details about the call are entered into the system (220).

FIG. 5 illustrates an example screenshot of a UI 510 for PCD system 10 where a sales representative may enter call details in details section 520 and product details section 530. Such details may include the doctor or audience of the call 540, the date of the call 550, the duration of the call 560, the product discussed during the call 570, and comments regarding the call 580. During the sales call, the PCD system 10 dynamically and automatically collects analytical data such as time spent by the sales representative on each message and the sequence of messages (230). For example, PCD system may include a timer (not shown) for recording the time spent on each message or segment of the message. FIG. 6 illustrates an example screenshot of a UI 610 for PCD system 10 where a presentation is in progress and displaying a message during a sales call.

Once the detailing session is over and the interactive detailing is closed, the analytical data collected during the session is written back to database 17 (240). After the call, the sales representative may also enter additional details about the sales call such a samples and promotional items left with the doctor or audience, issues about the call, or questionnaires dropped during the call. FIG. 7 illustrates an example screenshot of a UI 710 for PCD system 10 where the sales representative can enter call details in promotional items section 720, samples dropped section 730, issues section 740, and questionnaires section 750. The screenshot UI 710 displays in presentation details section 760 the messages that were presented to the contact in the detailing session, the sequence of presented messages and their parent messaging plans (i.e., the message plan to which the messages belong), and duration of presentation of each message. Ultimately, information about the sales call and other sales calls regarding the same product may be used to develop marketing strategies for that product based on the success of the sales calls.

In one embodiment, the UIs for PCD system 10 are implemented using the Adobe Flex platform. Adobe Flex is a collection of technologies released by Adobe Systems for the development and deployment of cross platform rich Internet applications based on the proprietary Adobe Flash platform. Flex provides a workflow and programming model that is familiar to developers. Macromedia XML (“MXML”), an extensible Markup Language (“XML”)-based markup language, offers a way to build and lay out graphic user interfaces. Interactivity is achieved through the use of ActionScript, the core language of Flash Player that is based on the European Computer Manufacturers Association ECMAScript standard. The Flex software development kit (“SDK”) comes with a set of user interface components including buttons, list boxes, trees, data grids, several text controls, charts, graphs and various layout containers. Other features like web services, drag and drop, modal dialogs, animation effects, application states, form validation, and other interactions round out the application framework.

A Flex application may be a rich internet application (“RIA). RIAs introduce an intermediate layer of code, often called a client engine, between the user and the server. This client engine is typically downloaded as part of the instantiation of the application, and may be supplemented by further code downloads as use of the application progresses. The client engine acts as an extension of the browser, and usually takes over responsibility for rendering the application's user interface and for server communication. What can be done in a RIA may be limited by the capabilities of the system used on the client, but in general, the client engine is programmed to perform application functions that its designer believes will enhance some aspect of the user interface, or improve its responsiveness when handling certain user interactions, compared to a standard Web browser implementation. Also, while simply adding a client engine does not force an application to depart from the normal synchronous pattern of interactions between browser and server, in most RIAs the client engine performs additional asynchronous communications with servers.

In a multi-tiered model, Flex applications serve as the presentation tier. Unlike page-based hypertext markup language (“HTML”) applications, Flex applications provide a stateful client where significant changes to the view do not require loading a new page. Similarly, Flex and Flash Player provide many useful ways to send and load data to and from server-side components without requiring the client to reload the view. To incorporate a Flex application into a website, one typically embeds a Shockwave Flash (“SWF”) file in an HTML, JavaServer Pages (“JSP”), Adobe, ColdFusion, or other type of web page. The page that embeds the SWF file is known as the wrapper. A wrapper consists of an <object> tag and an <embed> tag that format the SWF file on the page, define data object locations, and pass run-time variables to the SWF file. In addition, the wrapper can include support for history management and Flash Player version detection and deployment.

The use of Flex provides a rich UI for the PCD system 10. However, in an embodiment, PCD system 10 is tightly integrated with customer relationship management (“CRM”) software such as the Oracle® line of CRM products. Such Enterprise Application Systems (“EAS”) products are typically designed with security as a major priority, and thus do not allow browser scripting. However, Flex requires Javascript to communicate with the underlying platform, and thus cannot make calls to secure EAS application program interfaces (“APIs”).

Accordingly, to provide communication between the underlying platform and the Flex application, an embodiment embeds a browser control in an EAS-provided ActiveX container control, and this browser control navigates to an HTML page with Javascript code and the Flex application. This allows the Flex application to communicate via Javascript, and the Javascript can communicate with the ActiveX container control which can invoke EAS APIs. FIG. 8 illustrates logical view of an embodiment where a Flex application (SWF file) 810 is embedded in a container web page 820, which is viewed by a browser 830 communicating via ActiveX container control 840 with base platform 850. Sample code for container web page 820 is below, illustrating how Flex application 810 (“InteractiveDetailer.swf”) may be embedded:

 <script language=“JavaScript”>    function InvokeMethod(strMode,strMethod,strArg)    {      var flashObject =   document.getElementById(“InteractiveDetailer”);      var arg = “<invoke name=\“InvokeMethod\”   returntype=\“xml\”><arguments><string>” + strMode       + “</string><string>” + strMethod +   “</string><string>”+strArg+“</string></arguments></invoke>”;      flashObject.CallFunction(arg);    }    function IsReady( )    {    window.external.ProcessFlashCall( );    }    function InvokeBasePlatformMethod(vMethod,vXMLData)    {      window.external.InvokeBasePlatformMethod(vMethod,vXML   Data);    }  <body>   <object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”    id=“InteractiveDetailer” width=“100%” height=“100%” codebase=“http://fpdownload.macromedia.com/get/flashplayer/current/ swflash.cab”>    <param name=“movie” value=“InteractiveDetailer.swf” />    <param name=“quality” value=“high” />    <param name=“bgcolor” value=“#869ca7” />    <param name=“allowScriptAccess” value=“sameDomain” />    <embed src=“InteractiveDetailer.swf” quality=“high” bgcolor=“#869ca7”     width=“100%” height=“100%” name=“InteractiveDetailer” align=“middle”     play=“true”     loop=“false”      quality=“high”      allow.ScriptAccess=“sameDomain”      type=“application/x-shockwave-flash”      pluginspage=“http://www.adobe.com/go/getflashplayer”>     </embed>   </object> </body>

FIG. 9 illustrates a flow diagram of the communication between a base platform 850 (e.g., Oracle® Life Sciences) and Flex-based UI (Flex application 810) for PCD system 10 in accordance with an embodiment. Reference is also made to FIG. 8. When data is to be sent from base platform 850 to Flex application 810, base platform 850 invokes a method in Flex by sending a notification to the ActiveX container control 840 with the Flex method name and arguments (data in XML format) as parameters (910). The ActiveX container control 840 then invokes a Javascript function “InvokeMethod” in container web page 820 with the Flex method name and arguments as IP parameters (920). The Javascript function then invokes the appropriate method in Flex application 810 in the container web page 820 via the Flash ActiveX API (930).

Similarly, when Flex application 810 invokes a method in base platform 850, Flex application 810 calls a Javascript function (e.g., “InvokeBasePlatformMethod”) with the base platform method name and arguments as parameters (940). The Javascript of browser 830 will then call a method in the ActiveX container control 840 of the same name with the same arguments as parameters (950). ActiveX container control 840 then calls the method of the base platform 850, passing the arguments as XML data (960).

Because of similar security concerns, Flex applications do not communicate with a base platform database and thus cannot invoke APIs to update the database. Accordingly, the PCD system 10 includes a communication handler for retrieving data and updating data in a platform database. FIG. 10 illustrates a communication handler 1010 that is part of PCD system 10. Communication handler 1010 handles all communication between the PCD system 10 and a platform database 1020. Communication handler 1010 reads the data received from the base platform database 1020 in XML format and caches it in memory. Communication handler 1010 also caches all analytical data tracked by the PCD system 10. During a sales call, PCD system 10 tracks information such as time spent on each message, sequence of presented messages, messaging plans that were presented, audience feedback, etc. This information is cached in memory by communication handler 1010 and dynamically updated during the detailing session. Once the sales presentation session is over, before closing the PCD system 10, the communication handler 1010 converts all cached data (to be written back to platform database 1020) into XML format and calls platform database APIs to write the collected data.

The communication handler 1010 is a collection of classes that encapsulate all the data required in PCD system 10. Objects of these classes parse XML data from the platform database 1020, and all data to be written back to platform database 1020 is packaged by these objects in XML format. When PCD system 10 is initialized, a global communication object is initialized which in turn initializes the objects that parse the XML data. The global communication object is accessible to all UI components in PCD system 10 and all data to be rendered in a UI is retrieved from this communication object. Moreover, all data to be written back to platform database 1020 is cached in the global communication object.

The communication handler has one main class called CommunicationObject which serves as a container class for holding objects of all other classes in the communication handler. When an application on PCD system 10 is initialized, a global object of type CommunicationObject is created as shown in code below:

package communicationhandler.utils {  import communicationhandler.common.CommunicationObject;  import communicationhandler.common.AppMessageLog;  public class GlobalAppObjs  {   private static var m_comObj :CommunicationObject = new CommunicationObject( );   private static var m_AppMsgLog :AppMessageLog = new AppMessageLog( );   public static function get comObj ( ):CommunicationObject   {    return m_comObj;   }   public static function get AppMsgLog ( ):AppMessageLog   {    return m_AppMsgLog;   }  } }

After initialization, when platform database 1020 sends data to PCD system 10, the global CommunicationObject created above receives the data from platform database 1020 and initializes objects that read and cache this data, as shown in code below:

 public function Viewer::InvokeMethod(strMethod:String,  xmlString:String):void    {     if(strMethod == “InitISD”)     {      ........      GlobalAppObjs.comObj.InvokeMethod(strMethod,xmlString);   ....     }    } public function CommunicatonObject::InvokeMethod(strMethod:String,xmlString:String) :void    {     .....     switch(strMethod)     {       .....       case “InitISD”:        InitISD(xmlString);        break;     };    } public function InitISD(xmlString:String):void  { AppConfig(GetSubString(xmlString, XMLTagMap.SYS_PREF_DECOMP_PATH)); SetSalesAids(GetSubString(xmlString, StringObj.IO_ADMIN_SALES_TOOL));     if (Application.application.mode != “SA_VERIFY”)     { SetSalesKits(GetSubString(xmlString,StringObj.IO_ADMIN_MP)); SetRecommendedMPs(GetSubString(xmlString, “OptimizedDetailingPlan”));       SetCallType  (GetSubString(xmlString,StringObj.XML_TAG_CALL_TYPE));       SetCallData(GetSubString(xmlString, GetCallIO));     }     getPickListObjs(GetSubString(xmlString,     “ListOfListOfValuesIO”));    }

As CommunicationObject is a global object, all UI components have access to this object and retrieve data to be displayed from this object. Analytical data collected during the presentation session is also cached and dynamically updated in this object. Finally, before detailer is closed, the communication object converts all data to be written back into XML format and calls a platform API to save the data.

Consider a scenario where user clicks on a button to start a sales presentation. When the button is clicked, the platform database 1020 sends data such as call details (e.g. contact being called upon) and messaging plans/messages available for this contact, etc., to PCD system 10. The communication handler 1010 component receives the data from in XML format and instantiates objects that read and cache the XML data.

FIG. 11 illustrates a flow diagram of the function of communication handler 1010 in accordance with an embodiment. Reference is also made to FIG. 10. The PCD system 10 first initializes and instantiates communication handler 1010 (1110). Communication handler 1010 then retrieves data in the form of XML data from platform database 1020 (1120). Communication handler 1010 then instantiates objects to provide the XML data to the user interfaces of PCD system 10 applications (1130). During a sales presentation, communication handler 1010 caches analytics recorded by PCD system 10 (1140). After the sales presentation is over, communication handler 1010 parses the recorded data into XML data and calls platform database 1020 APIs to write the data back to platform database 1020 (1150).

Thus, integration of Flex or RIA technology with a secure EAS such as Oracle® Life Sciences makes it easier for sales representatives to deliver high impact presentations that are tailored to individual customer needs by leveraging multimedia visualization content provided by marketing teams. As a result, sales teams are better positioned to deliver the right message to the right customer at the right time, helping to optimize each selling opportunity and improve customer acquisition, satisfaction, and retention. On the other hand, no change is needed to the secure EAS to accommodate the Flex or RIA technology. The security protocols of the EAS may be left in tact.

Some embodiments of the invention have been described as computer-implemented processes. It is important to note, however, that those skilled in the art will appreciate that the mechanisms of the invention are capable of being distributed as a program product in a variety of forms. The foregoing description of example embodiments is provided for the purpose of illustrating the principles of the invention, and not in limitation thereof, since the scope of the invention is defined solely by the appended claims. 

What is claimed is:
 1. A method to facilitate communication between a rich Internet application and a secure Enterprise Application System (EAS) database, comprising: instantiating a rich Internet application that does not communicate with the secure EAS database; instantiating a global communication handler application that communicates with the secure EAS database and the rich Internet application; instantiating a global communication object that includes a secure application programming interface (API), an object that caches and provides a messaging plan to the rich Internet application, and an object that caches and provides analytical data to the secure EAS database; retrieving, by the global communication handler application, a messaging plan including one or more messages of digital presentation content from the secure EAS database using the secure API; caching the messaging plan in the global communication object; providing the message plan to the rich Internet application; receiving, by the global communication handler, analytical data from the rich Internet application; caching the analytical data in the global communication object; dynamically updating the cached analytical data in the global communication object during a session of the rich Internet application; parsing the updated analytical data; and after the session of the rich Internet application is over, writing, by the global communication handler application, the parsed analytical data to the secure EAS database using the secure API.
 2. The method of claim 1, wherein the messaging plan includes information for a sales presentation.
 3. The method of claim 1, wherein the EAS database is a life sciences database.
 4. The method of claim 1, wherein the rich Internet application comprises a graphical user interface.
 5. The method of claim 1, wherein all data received from and sent to the secure EAS database passes through the global communication handler.
 6. The method of claim 1, wherein: a format of the messaging plan is an extensible markup language (XML); the global communication object is an ActiveX container provided by the secure EAS database; the analytical data includes messages that were presented during the presentation, a message presentation sequence, and a time spent on each message; and a format of the parsed analytical data is XML.
 7. A non-transitory computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to facilitate communication between a rich Internet application and a secure Enterprise Application System (EAS) database by: instantiating a rich Internet application that does not communicate with the secure EAS database; instantiating a global communication handler application that communicates with the secure EAS database and the rich Internet application; instantiating a global communication object that includes a secure application programming interface (API), an object that caches and provides a messaging plan to the rich Internet application, and an object that caches and provides analytical data to the secure EAS database; retrieving, by the global communication handler application, a messaging plan including one or more messages of digital presentation content from the secure EAS database using the secure API; caching the messaging plan in the global communication object; providing the message plan to the rich Internet application; receiving, by the global communication handler, analytical data from the rich Internet application; caching the analytical data in the global communication object; dynamically updating the cached analytical data in the global communication object during a session of the rich Internet application; parsing the updated analytical data; and after the session of the rich Internet application is over, writing, by the global communication handler application, the parsed analytical data to the secure EAS database using the secure API.
 8. The computer-readable medium claim 7, wherein the messaging plan includes information for a sales presentation.
 9. The computer-readable medium of claim 7, wherein the EAS database is a life sciences database.
 10. The computer-readable medium of claim 7, wherein the rich Internet application comprises a graphical user interface.
 11. The non-transitory computer-readable medium of claim 7, wherein: a format of the messaging plan is an extensible markup language (XML); the global communication object is an ActiveX container provided by the secure EAS database; the analytical data includes messages that were presented during the presentation, a message presentation sequence, and a time spent on each message; and a format of the parsed analytical data is XML.
 12. A system, comprising: a secure Enterprise Application System (EAS) database; a memory to store data and one or more software modules; and a processor, coupled to the memory and the secure EAS database, configured to: instantiate a rich Internet application that does not communicate with the secure EAS database; instantiate a global communication handler application that communicates with the secure EAS database and the rich Internet application; instantiate a global communication object that includes a secure application programming interface (API), an object that caches and provides a messaging plan to the rich Internet application, and an object that caches and provides analytical data to the secure EAS database; retrieve, by the global communication handler application, a messaging plan including one or more messages of digital presentation content from the secure EAS database using the secure API; cache the messaging plan in the global communication object; provide the message plan to the rich Internet application; receive, by the global communication handler, analytical data from the rich Internet application; cache the analytical data in the global communication object; dynamically update the cached analytical data in the global communication object during a session of the rich Internet application; parse the updated analytical data; and after the session of the rich Internet application is over, write, by the global communication handler application, the parsed analytical data to the secure EAS database using the secure API.
 13. The system of claim 12, wherein the messaging plan includes information for a sales presentation.
 14. The system of claim 12, wherein the database is a life sciences database.
 15. The system of claim 12, wherein the rich Internet application comprises a graphical user interface.
 16. The system of claim 12, wherein: a format of the messaging plan is an extensible markup language (XML); the global communication object is an ActiveX container provided by the secure EAS database; the analytical data includes messages that were presented during the presentation, a message presentation sequence, and a time spent on each message; and a format of the parsed analytical data is XML. 